Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. ntp sync rtc
    Log in to post

    • D

      I swore I had RTC ntp_sync() working on my Lopy and now I can't get it working at all?
      LoPy • lopy ntp sync rtc • • duhmojo  

      6
      0
      Votes
      6
      Posts
      1333
      Views

      R

      @paul-thornton I replied on another thread that I think you responded to that I have this issue with 1.20.0.rc0. I reverted back to my unmodified build of 1.19.0.b4 and the problem disappeared. I found that after machine.reset() the clock still would not sync reliably (or at all) and even sometimes after a hard reset by hitting the reset button.
    • G

      Sync NTP and set RTC od LOPY
      LoPy • ntp sync rtc • • gerkez  

      2
      0
      Votes
      2
      Posts
      1145
      Views

      bucknall

      Hi @gerkez Are you connected to a WiFi network when you try to run this code? You'll need to have the device connected to a network in order to read ntp time. Cheers, Alex
    • 1 / 1